package com.kmproject.haifu.mvp.model.entity.beans;

import android.os.Parcel;
import android.os.Parcelable;

public class ConvenientPaymentRecordBean implements Parcelable {

    /**
     * accountNumber :
     * actuallyPayMoney :
     * createTime :
     * exchangeRate :
     * expirationTime :
     * investId : 0
     * investType :
     * mobile :
     * orderNumber :
     * orderStatus : 0
     * payTime :
     * payWay :
     * payWayName :
     * serviceProvider :
     * totalMoney :
     * transactionId :
     * updateTime :
     * userId : 0
     */

    private String accountNumber;
    private String actuallyPayMoney;
    private String createTime;
    private String exchangeRate;
    private String expirationTime;
    private String investId;
    private String investType;//充值类型：mobile话费，electricity电费，water水费,network网费
    private String mobile;
    private String orderNumber;
    private int orderStatus;//订单状态 0-未支付，1-支付
    private String payTime;
    private String payWay;//支付方式 微信 支付宝(从数据字典取category)
    private String payWayName;
    private String serviceProvider;
    private String totalMoney;
    private String transactionId;
    private String updateTime;
    private String userId;

    protected ConvenientPaymentRecordBean(Parcel in) {
        accountNumber = in.readString();
        actuallyPayMoney = in.readString();
        createTime = in.readString();
        exchangeRate = in.readString();
        expirationTime = in.readString();
        investId = in.readString();
        investType = in.readString();
        mobile = in.readString();
        orderNumber = in.readString();
        orderStatus = in.readInt();
        payTime = in.readString();
        payWay = in.readString();
        payWayName = in.readString();
        serviceProvider = in.readString();
        totalMoney = in.readString();
        transactionId = in.readString();
        updateTime = in.readString();
        userId = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(accountNumber);
        dest.writeString(actuallyPayMoney);
        dest.writeString(createTime);
        dest.writeString(exchangeRate);
        dest.writeString(expirationTime);
        dest.writeString(investId);
        dest.writeString(investType);
        dest.writeString(mobile);
        dest.writeString(orderNumber);
        dest.writeInt(orderStatus);
        dest.writeString(payTime);
        dest.writeString(payWay);
        dest.writeString(payWayName);
        dest.writeString(serviceProvider);
        dest.writeString(totalMoney);
        dest.writeString(transactionId);
        dest.writeString(updateTime);
        dest.writeString(userId);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<ConvenientPaymentRecordBean> CREATOR = new Creator<ConvenientPaymentRecordBean>() {
        @Override
        public ConvenientPaymentRecordBean createFromParcel(Parcel in) {
            return new ConvenientPaymentRecordBean(in);
        }

        @Override
        public ConvenientPaymentRecordBean[] newArray(int size) {
            return new ConvenientPaymentRecordBean[size];
        }
    };

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getActuallyPayMoney() {
        return actuallyPayMoney;
    }

    public void setActuallyPayMoney(String actuallyPayMoney) {
        this.actuallyPayMoney = actuallyPayMoney;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(String exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public String getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(String expirationTime) {
        this.expirationTime = expirationTime;
    }

    public String getInvestId() {
        return investId;
    }

    public void setInvestId(String investId) {
        this.investId = investId;
    }

    public String getInvestType() {
        return investType;
    }

    public void setInvestType(String investType) {
        this.investType = investType;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public String getPayWayName() {
        return payWayName;
    }

    public void setPayWayName(String payWayName) {
        this.payWayName = payWayName;
    }

    public String getServiceProvider() {
        return serviceProvider;
    }

    public void setServiceProvider(String serviceProvider) {
        this.serviceProvider = serviceProvider;
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
